package com.schoolcloud.system.service;

import com.schoolcloud.common.exception.UserNotExistException;
import com.schoolcloud.common.model.PageDTO;
import com.schoolcloud.system.query.SysUseQuery;
import com.schoolcloud.system.entity.SysUser;
import com.schoolcloud.system.vo.SysUserInfoVO;

import java.util.List;

public interface SysUserService {


    String selectUserByUserNameAndPassword(String userName, String password) throws UserNotExistException;

    void addUser(SysUser sysUser);

    SysUserInfoVO getSysUserInfo(String userId);

    List<SysUser> getSysUserList(SysUseQuery sysUseSearchDTO);

    void modifySysUser(SysUser sysUser);

    PageDTO<SysUser> getSysUserPage(SysUseQuery sysUseSearchDTO);
}
